package alexattar.gdxtest.utils;

import com.badlogic.gdx.tools.imagepacker.TexturePacker;
import com.badlogic.gdx.tools.imagepacker.TexturePacker.Settings;

public class TestTexturePacker {
	
	private static final String INPUT_DIR = "etc/";
	private static final String OUTPUT_DIR = "../gdx-test-android/assets/image-atlases";
	private static final String PACK_FILE = "pages-info";
	
	public static void main(String[] args) {
		Settings settings = new Settings();
		
		settings.padding = 2;
		settings.edgePadding = false;
		
		settings.maxWidth = 512;
		settings.maxHeight = 512;
		
		TexturePacker.process(settings, INPUT_DIR, OUTPUT_DIR, PACK_FILE);
	}
}
